<template>
	<view class="container">
		<!-- 顶部导航部分 -->
		<view class="top">
			<view class="bg"></view>
			<view class="title_header">
				<!-- <view class="jiantou" click="back"></view> -->
				<view class="jiantou" @click="back"></view>
				<text>注册</text>
			</view>
		<!-- 卡片内容 -->
		<view>
		
			<uni-card>
				<view class="register_register">
					<view class="register_left">
						<view>负责人:</view>
						<view>身份证号码:</view>
						<view>手机号:</view>
						<view>验证码:</view>
						<view>店名:</view>
						<view>工商营业执照号码:</view>
						<view>经营区域:</view>
						<view>地址:</view>
					</view>
					<view class="register_right">
						<!-- <view class="register_right_input"><input v-model="obj.fuzeren"></view> -->
						<view class="register_right_input"><input v-model="obj.fuzeren"></view>
						<!-- <view class="register_right_input"><input v-model="obj.idcard"></view> -->
						<view class="register_right_input"><input v-model="obj.idcard"></view>
						
						<!-- <view class="register_right_input"><input v-model="obj.phone"></view> -->
						<view class="register_right_input"><input v-model="obj.phone"></view>
						
						<view class="register_right_input">
							<input placeholder="输入验证码">
							<view class="register_right_code">
								获取验证码
							</view>
						</view>
						
						<!-- <view class="register_right_input"><input v-model="obj.storename"></view> -->
						<view class="register_right_input"><input v-model="obj.storename"></view>
						<!-- <view class="register_right_input"><input v-model="obj.licensenumber"></view> -->
						<view class="register_right_input"><input v-model="obj.licensenumber"></view>
						
					<!-- 	<view class="register_right_input">
							<input v-model="obj.manageregion">
							<image src="/static/收起箭头小@2x.png"></image>
						</view> -->
						
							<view class="register_right_input">
								<input v-model="obj.manageregion">
								<image src="../../static/image/收起箭头小@2x.png" ></image>
							</view>
						
						<!-- <view class="register_right_input"><input v-model="obj.address"></view> -->
						<view class="register_right_input"><input v-model="obj.address"></view>
						
					</view>
				</view>
			</uni-card>
		</view>
	
	
	
		<!-- 商家简介 -->
		<view class="shop">
			<uni-card>
				<view class="shop_text">
					<view class="text">
						商家简介
					</view>
					<uni-easyinput type="textarea" v-model="jianjie" ></uni-easyinput>	
					<!-- <text>汽车修理厂是专门修理汽车和总成的单位，一般
						设置在汽车站内部，也有是单独企业。汽车修理
						的基本方法可分为就车修理和总成互换修理。</text> -->
				</view>
			</uni-card>
		</view>
		
		
		<!-- 身份证正反照片 -->
		<view class="id">
			<uni-card>
				<view class="picture">身份证正反面照片</view>
				<uni-file-picker>
					<view class="select">
						<image src="../../static/image/加号.png"></image>
						<text class="shangchuan">上传照片</text>
					</view>
				</uni-file-picker>
			</uni-card>
		</view>
		
		
		<!-- 营业执照照片 -->
		<view class="licensenumber">
			<uni-card>
				<view class="picture">营业执照</view>
				<uni-file-picker>
					<view class="select">
						<image src="../../static/image/加号.png"></image>
						<text class="shangchuan">上传照片</text>
					</view>
				</uni-file-picker>
			</uni-card>
		</view>

		<!-- 门店照片 -->
		<view class="storepicture">
			<uni-card>
				<view class="picture">门店照片</view>
				<uni-file-picker>
					<view class="select">
						<image src="../../static/image/加号.png"></image>
						<text class="shangchuan">上传照片</text>
					</view>
				</uni-file-picker>
			</uni-card>
		</view>
		
		<!-- 保存按钮 -->
	
		<view class="save" @click="back">
			保存
		</view>
		
		

	</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				/* 输入框中的用户信息 */
				obj:{
					fuzeren:"张大美",
					idcard:"410534200010257654",
					phone:"13214324454",
					storename:"大美汽修店",     /* 店名*/
					licensenumber:"2773218171787471"     ,/* 工商营业执照号码*/
					manageregion:"焦作市山阳区",    /*经营区域 */
					address:"山阳区迎宾路32号"    /* 地址*/
					
				},
				jianjie:"简介简介简介"
			}
		},
		methods: {
			// back(){
			// 	uni.navigateBack({
			// 		delta:1
			// 	})
			// },
			back(){
			uni.navigateTo({
				url:"/pages/merchant_information/merchant_information"
				})
			},
			
			
			//点击保存返回原页面
			/* save(){
				uni.navigateBack({
					delta:1
				})
			} */
		}
	}
</script>

<style>
/* 导航栏样式 */
	.container{
		width: 750rpx;
		position: relative;
		padding-bottom: 50rpx;
		background-color: #3785f6;
	}
	.top{
		width: 750rpx;
		height: 300rpx;
		background-color: #3785f6;
	}
	.bg{
		position: absolute;
		z-index: -1;
		background-color: #3785f6;
		width: 750rpx;
		height: 450rpx;
	}
	.title_header{
		display: flex;
		padding-top: 60rpx;
	}
	.title_header>text{
		font-size: 35rpx;
		color: white;
		margin-left: 270rpx;
	}
	.jiantou{
		border-bottom: 6rpx solid white;
		border-left: 6rpx solid white;
		width: 20rpx;
		height: 20rpx;
		margin-left: 20rpx;
		transform: rotate(45deg);
	}
	
	

	/* 身份信息卡片 */
		.register {
			/* position: absolute; */
			/* top: 90rpx; */
			width: 750rpx;
		}
	
		.register_register {
			display: flex;
		}
	
		.register_left view {
			width: 260rpx;
			margin: 60rpx 0;
			font-size: 30rpx;
			font-weight: bold;
			color: black;
		}
	
		.register_right_input {
			width: 360rpx;
			height: 60rpx;
			margin: 45rpx 0;
			border: 1rpx solid gray;
			border-radius: 50rpx;
			display: flex;
			align-items: center;
			box-sizing: border-box;
			/* 添加此属性 */
		}
	
		.register_right input {
			width: 300rpx;
			/* 修改此值以适应容器宽度 */
			height: 100%;
			/* 可选，确保输入字段填满容器高度 */
			padding: 0 10rpx;
			/* 可选，添加一些内边距以改善外观 */
			box-sizing: border-box;
			/* 添加此属性 */
			font-size: 28rpx;
			/* 根据需要调整字体大小 */
			line-height: 60rpx;
			/* 与容器高度相同或适当调整 */
		}
	
		.register_right_code {
			height: 40rpx;
			border-left: 1rpx solid gray;
			padding-left: 10rpx;
			color: #327AEF;
			position: absolute;
			right: 50rpx;
		}
	
		.register_right_input image {
			width: 25rpx;
			height: 18rpx;
			margin-left: 10rpx;
		}
	

		/* 商家简介 */
		.shop {
			width: 750rpx;
			/* position: absolute;
			top: 1060rpx; */
		}
	
		.text {
			font-size: 30rpx;
			font-weight: bold;
			color: black;
			margin-bottom: 20rpx;
		}
		
		
		
		
		/* 身份证正反照片 */
			
		.picture {
			font-size: 30rpx;
			font-weight: bold;
			color: black;
			padding-bottom: 15rpx;
		}	
		
		
		
		.select{
			display: flex;
			flex-direction: column;
			font-size: 25rpx;
			color: #c3c3c3;
			align-items: center;
		}
		.select .shangchuan{
			padding-top: 10rpx;
		}
		.select image{
			width: 50rpx;
			height: 50rpx;
		}
			
		
		/* 保存按钮样式 */
	
	.save{
		line-height: 79rpx;
		width: 517rpx;
		height: 74rpx;
		border: 1rpx solid  white;
		border-radius: 30rpx;
		text-align: center;
		margin-left: 120rpx;
		margin-top: 65rpx;
		color: white;
		background-color: #1b6fea;
		
	}


</style>
